/**
 * Created by Think pad on 2016/4/24.
 */
public class SplitDemo {
    public static void main(String[] args) {
        for(String token : "Justin,Monica,Irene".split(",")) {
            System.out.println(token);
        }

        for(String token : "JustinOrzMonicaOrzIrene".split("Orz")) {
            System.out.println(token);
        }

        for(String token : "Justin\tMonica\tIrene".split("\\t")) {
            System.out.println(token);
        }
    }
}
